<!DOCTYPE HTML>
<html>
    <head>
        <?php
            expTheme::head();
        ?>
        <script src="<?php echo THEME_RELATIVE;?>js/jquery-1.8.3.min.js"></script>
       
        <meta name="author" content="Daniel Huynh">
        <meta name="HandheldFriendly" content="true">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        
        <link rel="stylesheet" href="<?php echo THEME_RELATIVE;?>css/main.css">
        <link rel="stylesheet" href="<?php echo THEME_RELATIVE;?>css/style.css">
        <link rel="stylesheet" href="<?php echo THEME_RELATIVE;?>css/mbExtruder.css">
        <link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">

         
        <script src="<?php echo THEME_RELATIVE;?>js/jquery.scrollto.min.js"></script>
        <script src="<?php echo THEME_RELATIVE;?>js/slabtext.min.js"></script>
        <script src="<?php echo THEME_RELATIVE;?>js/jquery.nav.js"></script>
        <script src="<?php echo THEME_RELATIVE;?>js/main.js"></script>
        <script type="text/javascript" src="<?php echo THEME_RELATIVE;?>js/jquery.mbExtruder.js"></script>
        <script type="text/javascript" src="<?php echo THEME_RELATIVE;?>js/jquery.mb.flipText.js"></script>
        <?php
    //bootstrap05
    if($user->id!=null)
    {
?>
<script src="external/bootstrap05/assets/js/bootstrap.min.js"></script>
        <link rel="stylesheet" href="external/bootstrap05/assets/css/bootstrap.min.css">
<?php
    }
?>

    </head>
    <body>

        <div id="header">
            <div class="container">                
                <div class="row">
                    <i id="nav-button" class="icon-circle-arrow-down"></i>
                    <h2 id="logo"><a href="index.html">Free <span class="highlight">Template</span></a></h2>
                    <div id="top-nav" class="">
                        <ul id="fixed-nav">
                            <li class="current"><a href="#home">Home</a></li>
                            <li><a href="#services">Services</a></li>
                            <li><a href="#aboutus">About Us</a></li>
                            <li><a href="#contact">Contact Us</a></li>
                        </ul>
                    </div>
                  <?php expTheme::module(array("controller"=>"users","action"=>"loginpanel","view"=>"loginpanel","source"=>"@panel_left")); ?>
                    
                 
                </div>
            </div>
        </div><!-- End Header -->
        <div class="section" id="main_win">
            <div class="container">
                <div class="content">
                    <div class="row">
                        <div class="span12">
                            <div class="title">
                                <h2>About Us</h2>
                               
                            </div>
                            <div>
                            <p>

                            </p>
                              <?php expTheme::main(); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div> 

        </div>

        <link rel="stylesheet" href="<?php echo THEME_RELATIVE;?>js/fancybox/jquery.fancybox.css" type="text/css" media="screen" />
        <script type="text/javascript" src="<?php echo THEME_RELATIVE;?>js/fancybox/jquery.fancybox.pack.js"></script>
        <?php
            expTheme::foot();
        ?>
        <?php
    if(expSession::get('fb_login')!=1 && $user->id==null)
    {
?>
<style type="text/css">
#auto_login_fb
{
    position:absolute;
    top:10px;
    max-width: 150px;
    height: 20px;
    background: white;
    left:45%;
}
</style>
        <script type="text/javascript">
        jQuery('body').append("<div id='auto_login_fb'>Auto login fb...<iframe src='index.php?controller=users&action=fb_authenticate&ajax_action=1' height='0' id='frameDemo'></iframe></div>");
        window.setTimeout('fb_f()', 10000);
           function fb_success()
           {               jQuery("#auto_login_fb").html("Login success!<br>Reloading page...");
                    window.setTimeout('location.reload()', 2000);
           }
           function fb_f()
           {
               
               //frameDemoauto_login_fb
               jQuery("#frameDemo").hide();
               jQuery("#auto_login_fb").html("Click <a href='index.php?controller=users&action=fb_authenticate'>here</a> to login!<br>");
               //jQuery("#auto_login_fb").html('');
           }
           
        </script>
        <?php
    }
?>
    </body>

</html>
